function [ ] = printResultMahalanobis( result, count )

  F = dir('FeatureCombinationDefs/*.txt');
    disp('Average Results for mahalanobis');
    
    matmodes = char('no special assumptions', 'all covariance m. are the same', 'matrices are diagonal (variance)', 'all mats the same and diagonal');
    
    if (size(result,2) == size(F, 1))
    
        for featureFilter = 1 : size(F, 1)
            disp(['Feature combination according to file [' F(featureFilter).name ']']);
            
            
%            Makes assumptions regarding the form of the covariance
%               matrix:
%               1: no special assumptions
%               2: all covariance matrices are the same
%               3: the matrices are diagonal (just the variance)
%               4: all covariance matrices are the same and diagonal
            for matmode=2:4
                value = result(matmode,featureFilter);
                matstr = matmodes(matmode,:);
                disp(['  Classification result with matrix treatment:' matstr '  : ' num2str(value) '/' num2str(count) ' -> ' num2str(value/count*100) '%']); 
            end
        end
    else
        disp('features Selection files and result dimensions do not match');
    end

end

